package cn.unuuc.cwl.order.service.openfeign;


import cn.unuuc.cwl.order.model.qo.AccountQo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "integrated-account")
public interface AccountOpenFeignService {


    /**
     * 远程调用服务，减少指定用户的余额
     */
    @RequestMapping(value = "/account", method = RequestMethod.POST)
    String deductMoney(AccountQo accountQo);

}